[INFO] fetching crate edjr 0.1.3...
[INFO] testing edjr-0.1.3 against try#28f95933dc0727396c07b48d0a8cb5211b7fb472 for pr-154065-2
[INFO] extracting crate edjr 0.1.3 into /workspace/builds/worker-3-tc2/source
[INFO] started tweaking crates.io crate edjr 0.1.3
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate edjr 0.1.3
[INFO] tweaked toml for crates.io crate edjr 0.1.3 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate edjr 0.1.3 on toolchain 28f95933dc0727396c07b48d0a8cb5211b7fb472
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate edjr 0.1.3 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c0b0971238bb75df25b902227bf9ad63e2d4564e3ffa3a4817a561d2729addce
[INFO] running `Command { std: "docker" "start" "c0b0971238bb75df25b902227bf9ad63e2d4564e3ffa3a4817a561d2729addce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c0b0971238bb75df25b902227bf9ad63e2d4564e3ffa3a4817a561d2729addce" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c0b0971238bb75df25b902227bf9ad63e2d4564e3ffa3a4817a561d2729addce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c0b0971238bb75df25b902227bf9ad63e2d4564e3ffa3a4817a561d2729addce" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling serde_repr v0.1.20
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling edjr v0.1.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]  --> src/async_read.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     async fn read_all(&mut self) -> Result<Vec<JournalEntry>, JournalReadError>;
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout]   = note: `#[warn(async_fn_in_trait)]` on by default
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]   |
[INFO] [stdout] 8 -     async fn read_all(&mut self) -> Result<Vec<JournalEntry>, JournalReadError>;
[INFO] [stdout] 8 +     fn read_all(&mut self) -> impl std::future::Future<Output = Result<Vec<JournalEntry>, JournalReadError>> + Send;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.61s
[INFO] running `Command { std: "docker" "inspect" "c0b0971238bb75df25b902227bf9ad63e2d4564e3ffa3a4817a561d2729addce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c0b0971238bb75df25b902227bf9ad63e2d4564e3ffa3a4817a561d2729addce" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]  --> src/async_read.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     async fn read_all(&mut self) -> Result<Vec<JournalEntry>, JournalReadError>;
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout]   = note: `#[warn(async_fn_in_trait)]` on by default
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]   |
[INFO] [stdout] 8 -     async fn read_all(&mut self) -> Result<Vec<JournalEntry>, JournalReadError>;
[INFO] [stdout] 8 +     fn read_all(&mut self) -> impl std::future::Future<Output = Result<Vec<JournalEntry>, JournalReadError>> + Send;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling edjr v0.1.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]  --> src/async_read.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     async fn read_all(&mut self) -> Result<Vec<JournalEntry>, JournalReadError>;
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout]   = note: `#[warn(async_fn_in_trait)]` on by default
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]   |
[INFO] [stdout] 8 -     async fn read_all(&mut self) -> Result<Vec<JournalEntry>, JournalReadError>;
[INFO] [stdout] 8 +     fn read_all(&mut self) -> impl std::future::Future<Output = Result<Vec<JournalEntry>, JournalReadError>> + Send;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 7.22s
[INFO] running `Command { std: "docker" "inspect" "c0b0971238bb75df25b902227bf9ad63e2d4564e3ffa3a4817a561d2729addce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c0b0971238bb75df25b902227bf9ad63e2d4564e3ffa3a4817a561d2729addce" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stderr]  --> src/async_read.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 |     async fn read_all(&mut self) -> Result<Vec<JournalEntry>, JournalReadError>;
[INFO] [stderr]   |     ^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stderr]   = note: `#[warn(async_fn_in_trait)]` on by default
[INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stderr]   |
[INFO] [stderr] 8 -     async fn read_all(&mut self) -> Result<Vec<JournalEntry>, JournalReadError>;
[INFO] [stderr] 8 +     fn read_all(&mut self) -> impl std::future::Future<Output = Result<Vec<JournalEntry>, JournalReadError>> + Send;
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] warning: `edjr` (lib) generated 1 warning
[INFO] [stderr] warning: `edjr` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/edjr-810b0cf7741fb176)
[INFO] [stderr]    Doc-tests edjr
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test src/journal.rs - journal::Journal<File>::open (line 19) - compile ... ok
[INFO] [stdout] test src/lib.rs - (line 32) - compile ... FAILED
[INFO] [stdout] test src/read.rs - read::Read::read_all (line 11) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 15) - compile ... ok
[INFO] [stdout] test src/events/mod.rs - events (line 4) - compile ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 32) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]   --> src/lib.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |     tokio::fs::File,
[INFO] [stdout]    |     ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    |
[INFO] [stdout] help: to make use of source file src/tokio/mod.rs, use `mod tokio` in this file to declare the module
[INFO] [stdout]    |
[INFO] [stdout] 32 + mod tokio;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]   --> src/lib.rs:40:3
[INFO] [stdout]    |
[INFO] [stdout] 40 | #[tokio::main]
[INFO] [stdout]    |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:44:59
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn main() -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    | --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 44 |     let mut journal = Journal::<File>::open(journal_path).await?;
[INFO] [stdout]    |                                                           ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:45:38
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn main() -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    | --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 45 |     let entries = journal.read_all().await?;
[INFO] [stdout]    |                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/read.rs - read::Read::read_all (line 11) stdout ----
[INFO] [stdout] error[E0596]: cannot borrow `journal` as mutable, as it is not declared as mutable
[INFO] [stdout]   --> src/read.rs:17:19
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let entries = journal.read_all()?;
[INFO] [stdout]    |                   ^^^^^^^ cannot borrow as mutable
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut journal = Journal::<File>::open("/Path/to/my/journals/Journal.date.log")?;
[INFO] [stdout]    |         +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0596`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/events/mod.rs - events (line 4) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `edjr::event::Commander`
[INFO] [stdout]  --> src/events/mod.rs:6:59
[INFO] [stdout]   |
[INFO] [stdout] 6 | use {std::{error::Error, fs::File}, edjr::{Journal, Read, event::Commander}};
[INFO] [stdout]   |                                                           ^^^^^^^^^^^^^^^^ no `Commander` in `event`
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing one of these items instead:
[INFO] [stdout]           edjr::JournalEvent::Commander
[INFO] [stdout]           edjr::elite::commander::Commander
[INFO] [stdout] help: a similar name exists in the module (notice the capitalization)
[INFO] [stdout]   |
[INFO] [stdout] 6 - use {std::{error::Error, fs::File}, edjr::{Journal, Read, event::Commander}};
[INFO] [stdout] 6 + use {std::{error::Error, fs::File}, edjr::{Journal, Read, event::commander}};
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `commander` in this scope
[INFO] [stdout]   --> src/events/mod.rs:13:66
[INFO] [stdout]    |
[INFO] [stdout] 13 |             Commander(commader) => println!("I'm commander {}!", commander.name),
[INFO] [stdout]    |                                                                  ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 13 -             Commander(commader) => println!("I'm commander {}!", commander.name),
[INFO] [stdout] 13 +             Commander(commader) => println!("I'm commander {}!", commader.name),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/events/mod.rs - events (line 4)
[INFO] [stdout]     src/lib.rs - (line 32)
[INFO] [stdout]     src/read.rs - read::Read::read_all (line 11)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 2 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.34s; merged doctests compilation took 0.16s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "c0b0971238bb75df25b902227bf9ad63e2d4564e3ffa3a4817a561d2729addce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c0b0971238bb75df25b902227bf9ad63e2d4564e3ffa3a4817a561d2729addce", kill_on_drop: false }`
[INFO] [stdout] c0b0971238bb75df25b902227bf9ad63e2d4564e3ffa3a4817a561d2729addce
